package com.deng.codetemplate.controller;

import com.deng.codetemplate.config.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 邓天天
 * @date 2021/4/26 21:07
 */
@RestController
public class HelloController {

    @GetMapping("hello")
    public Result<String> hello() {
        return Result.success("你好");
    }
}
